﻿<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">
    <xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/>
  

  <xsl:template match="/root">
      <table class="datatable" border="0" cellpadding="0" cellspacing="0">
            <tr>
        <th>Ref</th>
				<th>Hours</th>
            </tr>
			  
            <xsl:for-each select="./item">
              <tr>
                <td>

                  <div class="ajaxbutton11">
                    <xsl:attribute name="cmd">
                      <xsl:text>/desktopmodules/Nbright/NBrightEspace/XmlConnector.ashx?cmd=gettimerep</xsl:text>
                      <xsl:text>&amp;projectid=</xsl:text>
                      <xsl:value-of select="./@projectid" disable-output-escaping="yes"/>
                      <xsl:text>&amp;emp=</xsl:text>
                      <xsl:value-of select="./@emp" disable-output-escaping="yes"/>
                    </xsl:attribute>
                    <a href="#">
                      <xsl:value-of select="./@emp" disable-output-escaping="yes"/>
                    </a>
                  </div>

				</td>
                <td>
					<xsl:value-of select="./@hours" disable-output-escaping="yes"/>
				</td>
              </tr>

            </xsl:for-each>

          </table>

		
    </xsl:template>

               
</xsl:stylesheet>
